package com.nativetalk.dao;

import com.nativetalk.bean.setmeal.TsNtSetmealDetail;

import java.util.Map;

/**
 * Created by lizhun on 16/1/4.
 */
@MyBatisRepository
public interface TsNtSetmealDao {
    /**
     * @Purpose  根据套餐id查找套餐是否存在
     * @version  1.0
     * @author   lizhun
     * @param    set_id
     * @return   TsNtSetmealDetail
     */
    public TsNtSetmealDetail findTsNtSetmealDetail(Integer set_id);


    /** 
     * @Purpose  更新套餐购买数量 
     * @version  1.0 
     * @author   lizhun 
     * @return   void 
     */
    public void updateTsNtSetmealSize(Map<String, Object> map);

}
